package org.example.netty.test.nio.netty.chat.common;

import io.netty.util.AttributeKey;
import org.example.netty.test.nio.netty.chat.bean.User;
import org.example.netty.test.nio.netty.chat.session.UserSession;

import java.util.List;

/**
 * @author zp
 * @version 1.0
 * @description: 系统的ID
 * @date 2023/4/7 20:01
 */
public class SystemId {
    public static final String SERVER_ID="0000";

    public static final String NULL_ID = "9999";

    public static final AttributeKey<UserSession> USER_SESSION_KEY=AttributeKey.valueOf("user_session_key");
    public static final AttributeKey<User> USER_KEY=AttributeKey.valueOf("user_key");
    public static final String QUITE = "#";
}
